package com.wuye.zlgl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

/**
 * 房屋租赁对象 wy_room_rent
 * 
 * @author avalon
 * @date 2024-11-22
 */
public class WyRoomRent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 房间号 */
    @Excel(name = "房间号")
    private String room;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private String community;

    /** 所属楼座 */
    @Excel(name = "所属楼座")
    private String buildingNumber;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unitNumber;

    /** 租户姓名 */
    @Excel(name = "租户姓名")
    private String tenantName;

    /** 租赁状态 */
    @Excel(name = "租赁状态")
    private Long rentStatus;

    /** 租户手机号 */
    @Excel(name = "租户手机号")
    private String phoneNumber;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal contractAmount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoom(String room)
    {
        this.room = room;
    }

    public String getRoom()
    {
        return room;
    }
    public void setCommunity(String community) 
    {
        this.community = community;
    }

    public String getCommunity() 
    {
        return community;
    }
    public void setBuildingNumber(String buildingNumber)
    {
        this.buildingNumber = buildingNumber;
    }

    public String getBuildingNumber()
    {
        return buildingNumber;
    }
    public void setUnitNumber(String unitNumber)
    {
        this.unitNumber = unitNumber;
    }

    public String getUnitNumber() 
    {
        return unitNumber;
    }
    public void setTenantName(String tenantName) 
    {
        this.tenantName = tenantName;
    }

    public String getTenantName() 
    {
        return tenantName;
    }
    public void setRentStatus(Long rentStatus) 
    {
        this.rentStatus = rentStatus;
    }

    public Long getRentStatus() 
    {
        return rentStatus;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setContractAmount(BigDecimal contractAmount) 
    {
        this.contractAmount = contractAmount;
    }

    public BigDecimal getContractAmount() 
    {
        return contractAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("room", getRoom())
            .append("community", getCommunity())
            .append("buildingNumber", getBuildingNumber())
            .append("unitNumber", getUnitNumber())
            .append("tenantName", getTenantName())
            .append("rentStatus", getRentStatus())
            .append("phoneNumber", getPhoneNumber())
            .append("contractAmount", getContractAmount())
            .append("remark", getRemark())
            .toString();
    }
}
